package info.magnolia.blossom.sample.cv.service;

import info.magnolia.blossom.sample.cv.model.CurriculumVitae;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: peterbalazs
 * Date: 2/18/13
 * Time: 6:03 PM
 * To change this template use File | Settings | File Templates.
 */
public interface CVService {

    public List<CurriculumVitae> getAllCVs();

    public List<CurriculumVitae> getAllCVs(final String searchCriteria);

    public CurriculumVitae getCV(final String id);

    public void addCV(final CurriculumVitae cv);

    public void udpateCV(final CurriculumVitae cv);

    public void removeCV(final CurriculumVitae cv);

    public void updateTimeSpentAtEmployer(final CurriculumVitae cv);
}
